Optimal. Leaf size=125 \[ -\frac {\left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}(\cos (c+d x))}{8 a^3 d}+\frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b} \cos (c+d x)}{\sqrt {a+b}}\right )}{a^3 \sqrt {a+b} d}-\frac {(3 a-4 b) \cot (c+d x) \csc (c+d x)}{8 a^2 d}-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3265, 425, 541,
536, 212, 214} \begin {gather*} \frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b} \cos (c+d x)}{\sqrt {a+b}}\right )}{a^3 d \sqrt {a+b}}-\frac {(3 a-4 b) \cot (c+d x) \csc (c+d x)}{8 a^2 d}-\frac {\left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}(\cos (c+d x))}{8 a^3 d}-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 214
Rule 425
Rule 536
Rule 541
Rule 3265
Rubi steps
\begin {align*} \int \frac {\csc ^5(c+d x)}{a+b \sin ^2(c+d x)} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right )^3 \left (a+b-b x^2\right )} \, dx,x,\cos (c+d x)\right )}{d}\\ &=-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d}-\frac {\text {Subst}\left (\int \frac {3 a-b-3 b x^2}{\left (1-x^2\right )^2 \left (a+b-b x^2\right )} \, dx,x,\cos (c+d x)\right )}{4 a d}\\ &=-\frac {(3 a-4 b) \cot (c+d x) \csc (c+d x)}{8 a^2 d}-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d}-\frac {\text {Subst}\left (\int \frac {3 a^2-a b+4 b^2-(3 a-4 b) b x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )} \, dx,x,\cos (c+d x)\right )}{8 a^2 d}\\ &=-\frac {(3 a-4 b) \cot (c+d x) \csc (c+d x)}{8 a^2 d}-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d}+\frac {b^3 \text {Subst}\left (\int \frac {1}{a+b-b x^2} \, dx,x,\cos (c+d x)\right )}{a^3 d}-\frac {\left (3 a^2-4 a b+8 b^2\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\cos (c+d x)\right )}{8 a^3 d}\\ &=-\frac {\left (3 a^2-4 a b+8 b^2\right ) \tanh ^{-1}(\cos (c+d x))}{8 a^3 d}+\frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b} \cos (c+d x)}{\sqrt {a+b}}\right )}{a^3 \sqrt {a+b} d}-\frac {(3 a-4 b) \cot (c+d x) \csc (c+d x)}{8 a^2 d}-\frac {\cot (c+d x) \csc ^3(c+d x)}{4 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 6.24, size = 657, normalized size = 5.26 \begin {gather*} \frac {b^{5/2} \tan ^{-1}\left (\frac {\sec \left (\frac {1}{2} (c+d x)\right ) \left (\sqrt {b} \cos \left (\frac {1}{2} (c+d x)\right )-i \sqrt {a} \sin \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {-a-b}}\right ) (-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x)}{2 a^3 \sqrt {-a-b} d \left (b+a \csc ^2(c+d x)\right )}+\frac {b^{5/2} \tan ^{-1}\left (\frac {\sec \left (\frac {1}{2} (c+d x)\right ) \left (\sqrt {b} \cos \left (\frac {1}{2} (c+d x)\right )+i \sqrt {a} \sin \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {-a-b}}\right ) (-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x)}{2 a^3 \sqrt {-a-b} d \left (b+a \csc ^2(c+d x)\right )}+\frac {(3 a-4 b) (-2 a-b+b \cos (2 (c+d x))) \csc ^2\left (\frac {1}{2} (c+d x)\right ) \csc ^2(c+d x)}{64 a^2 d \left (b+a \csc ^2(c+d x)\right )}+\frac {(-2 a-b+b \cos (2 (c+d x))) \csc ^4\left (\frac {1}{2} (c+d x)\right ) \csc ^2(c+d x)}{128 a d \left (b+a \csc ^2(c+d x)\right )}+\frac {\left (3 a^2-4 a b+8 b^2\right ) (-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x) \log \left (\cos \left (\frac {1}{2} (c+d x)\right )\right )}{16 a^3 d \left (b+a \csc ^2(c+d x)\right )}+\frac {\left (-3 a^2+4 a b-8 b^2\right ) (-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x) \log \left (\sin \left (\frac {1}{2} (c+d x)\right )\right )}{16 a^3 d \left (b+a \csc ^2(c+d x)\right )}+\frac {(-3 a+4 b) (-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right )}{64 a^2 d \left (b+a \csc ^2(c+d x)\right )}-\frac {(-2 a-b+b \cos (2 (c+d x))) \csc ^2(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right )}{128 a d \left (b+a \csc ^2(c+d x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 168, normalized size = 1.34
method | result | size |
derivativedivides | \(\frac {\frac {1}{16 a \left (1+\cos \left (d x +c \right )\right )^{2}}-\frac {-3 a +4 b}{16 a^{2} \left (1+\cos \left (d x +c \right )\right )}+\frac {\left (-3 a^{2}+4 a b -8 b^{2}\right ) \ln \left (1+\cos \left (d x +c \right )\right )}{16 a^{3}}-\frac {1}{16 a \left (\cos \left (d x +c \right )-1\right )^{2}}-\frac {-3 a +4 b}{16 a^{2} \left (\cos \left (d x +c \right )-1\right )}+\frac {\left (3 a^{2}-4 a b +8 b^{2}\right ) \ln \left (\cos \left (d x +c \right )-1\right )}{16 a^{3}}+\frac {b^{3} \arctanh \left (\frac {b \cos \left (d x +c \right )}{\sqrt {\left (a +b \right ) b}}\right )}{a^{3} \sqrt {\left (a +b \right ) b}}}{d}\) | \(168\) |
default | \(\frac {\frac {1}{16 a \left (1+\cos \left (d x +c \right )\right )^{2}}-\frac {-3 a +4 b}{16 a^{2} \left (1+\cos \left (d x +c \right )\right )}+\frac {\left (-3 a^{2}+4 a b -8 b^{2}\right ) \ln \left (1+\cos \left (d x +c \right )\right )}{16 a^{3}}-\frac {1}{16 a \left (\cos \left (d x +c \right )-1\right )^{2}}-\frac {-3 a +4 b}{16 a^{2} \left (\cos \left (d x +c \right )-1\right )}+\frac {\left (3 a^{2}-4 a b +8 b^{2}\right ) \ln \left (\cos \left (d x +c \right )-1\right )}{16 a^{3}}+\frac {b^{3} \arctanh \left (\frac {b \cos \left (d x +c \right )}{\sqrt {\left (a +b \right ) b}}\right )}{a^{3} \sqrt {\left (a +b \right ) b}}}{d}\) | \(168\) |
risch | \(\frac {3 a \,{\mathrm e}^{7 i \left (d x +c \right )}-4 b \,{\mathrm e}^{7 i \left (d x +c \right )}-11 a \,{\mathrm e}^{5 i \left (d x +c \right )}+4 b \,{\mathrm e}^{5 i \left (d x +c \right )}-11 a \,{\mathrm e}^{3 i \left (d x +c \right )}+4 b \,{\mathrm e}^{3 i \left (d x +c \right )}+3 a \,{\mathrm e}^{i \left (d x +c \right )}-4 b \,{\mathrm e}^{i \left (d x +c \right )}}{4 d \,a^{2} \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )^{4}}-\frac {3 \ln \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )}{8 a d}+\frac {b \ln \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )}{2 a^{2} d}-\frac {\ln \left ({\mathrm e}^{i \left (d x +c \right )}+1\right ) b^{2}}{a^{3} d}+\frac {3 \ln \left ({\mathrm e}^{i \left (d x +c \right )}-1\right )}{8 a d}-\frac {b \ln \left ({\mathrm e}^{i \left (d x +c \right )}-1\right )}{2 a^{2} d}+\frac {\ln \left ({\mathrm e}^{i \left (d x +c \right )}-1\right ) b^{2}}{a^{3} d}+\frac {i \sqrt {-\left (a +b \right ) b}\, b^{2} \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+\frac {2 i \sqrt {-\left (a +b \right ) b}\, {\mathrm e}^{i \left (d x +c \right )}}{b}+1\right )}{2 \left (a +b \right ) d \,a^{3}}-\frac {i \sqrt {-\left (a +b \right ) b}\, b^{2} \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}-\frac {2 i \sqrt {-\left (a +b \right ) b}\, {\mathrm e}^{i \left (d x +c \right )}}{b}+1\right )}{2 \left (a +b \right ) d \,a^{3}}\) | \(367\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 181, normalized size = 1.45 \begin {gather*} -\frac {\frac {8 \, b^{3} \log \left (\frac {b \cos \left (d x + c\right ) - \sqrt {{\left (a + b\right )} b}}{b \cos \left (d x + c\right ) + \sqrt {{\left (a + b\right )} b}}\right )}{\sqrt {{\left (a + b\right )} b} a^{3}} - \frac {2 \, {\left ({\left (3 \, a - 4 \, b\right )} \cos \left (d x + c\right )^{3} - {\left (5 \, a - 4 \, b\right )} \cos \left (d x + c\right )\right )}}{a^{2} \cos \left (d x + c\right )^{4} - 2 \, a^{2} \cos \left (d x + c\right )^{2} + a^{2}} + \frac {{\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (\cos \left (d x + c\right ) + 1\right )}{a^{3}} - \frac {{\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (\cos \left (d x + c\right ) - 1\right )}{a^{3}}}{16 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 288 vs.
\(2 (111) = 222\).
time = 0.44, size = 612, normalized size = 4.90 \begin {gather*} \left [\frac {2 \, {\left (3 \, a^{2} - 4 \, a b\right )} \cos \left (d x + c\right )^{3} + 8 \, {\left (b^{2} \cos \left (d x + c\right )^{4} - 2 \, b^{2} \cos \left (d x + c\right )^{2} + b^{2}\right )} \sqrt {\frac {b}{a + b}} \log \left (\frac {b \cos \left (d x + c\right )^{2} + 2 \, {\left (a + b\right )} \sqrt {\frac {b}{a + b}} \cos \left (d x + c\right ) + a + b}{b \cos \left (d x + c\right )^{2} - a - b}\right ) - 2 \, {\left (5 \, a^{2} - 4 \, a b\right )} \cos \left (d x + c\right ) - {\left ({\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{2} + 3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (\frac {1}{2} \, \cos \left (d x + c\right ) + \frac {1}{2}\right ) + {\left ({\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{2} + 3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (-\frac {1}{2} \, \cos \left (d x + c\right ) + \frac {1}{2}\right )}{16 \, {\left (a^{3} d \cos \left (d x + c\right )^{4} - 2 \, a^{3} d \cos \left (d x + c\right )^{2} + a^{3} d\right )}}, \frac {2 \, {\left (3 \, a^{2} - 4 \, a b\right )} \cos \left (d x + c\right )^{3} - 16 \, {\left (b^{2} \cos \left (d x + c\right )^{4} - 2 \, b^{2} \cos \left (d x + c\right )^{2} + b^{2}\right )} \sqrt {-\frac {b}{a + b}} \arctan \left (\sqrt {-\frac {b}{a + b}} \cos \left (d x + c\right )\right ) - 2 \, {\left (5 \, a^{2} - 4 \, a b\right )} \cos \left (d x + c\right ) - {\left ({\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{2} + 3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (\frac {1}{2} \, \cos \left (d x + c\right ) + \frac {1}{2}\right ) + {\left ({\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \cos \left (d x + c\right )^{2} + 3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (-\frac {1}{2} \, \cos \left (d x + c\right ) + \frac {1}{2}\right )}{16 \, {\left (a^{3} d \cos \left (d x + c\right )^{4} - 2 \, a^{3} d \cos \left (d x + c\right )^{2} + a^{3} d\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\csc ^{5}{\left (c + d x \right )}}{a + b \sin ^{2}{\left (c + d x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 334 vs.
\(2 (111) = 222\).
time = 0.44, size = 334, normalized size = 2.67 \begin {gather*} -\frac {\frac {64 \, b^{3} \arctan \left (\frac {b \cos \left (d x + c\right ) + a + b}{\sqrt {-a b - b^{2}} \cos \left (d x + c\right ) + \sqrt {-a b - b^{2}}}\right )}{\sqrt {-a b - b^{2}} a^{3}} + \frac {\frac {8 \, a {\left (\cos \left (d x + c\right ) - 1\right )}}{\cos \left (d x + c\right ) + 1} - \frac {8 \, b {\left (\cos \left (d x + c\right ) - 1\right )}}{\cos \left (d x + c\right ) + 1} - \frac {a {\left (\cos \left (d x + c\right ) - 1\right )}^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}}{a^{2}} - \frac {4 \, {\left (3 \, a^{2} - 4 \, a b + 8 \, b^{2}\right )} \log \left (\frac {{\left | -\cos \left (d x + c\right ) + 1 \right |}}{{\left | \cos \left (d x + c\right ) + 1 \right |}}\right )}{a^{3}} + \frac {{\left (a^{2} - \frac {8 \, a^{2} {\left (\cos \left (d x + c\right ) - 1\right )}}{\cos \left (d x + c\right ) + 1} + \frac {8 \, a b {\left (\cos \left (d x + c\right ) - 1\right )}}{\cos \left (d x + c\right ) + 1} + \frac {18 \, a^{2} {\left (\cos \left (d x + c\right ) - 1\right )}^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - \frac {24 \, a b {\left (\cos \left (d x + c\right ) - 1\right )}^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {48 \, b^{2} {\left (\cos \left (d x + c\right ) - 1\right )}^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}\right )} {\left (\cos \left (d x + c\right ) + 1\right )}^{2}}{a^{3} {\left (\cos \left (d x + c\right ) - 1\right )}^{2}}}{64 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 13.93, size = 1105, normalized size = 8.84 \begin {gather*} -\frac {\frac {\cos \left (c+d\,x\right )\,\left (5\,a-4\,b\right )}{8\,a^2}-\frac {{\cos \left (c+d\,x\right )}^3\,\left (3\,a-4\,b\right )}{8\,a^2}}{d\,\left ({\cos \left (c+d\,x\right )}^4-{\cos \left (c+d\,x\right )}^2+{\sin \left (c+d\,x\right )}^2\right )}-\frac {\mathrm {atanh}\left (\frac {63\,b^4\,\cos \left (c+d\,x\right )}{64\,\left (\frac {63\,b^4}{64}-\frac {81\,a\,b^3}{256}+\frac {27\,a^2\,b^2}{256}-\frac {35\,b^5}{32\,a}+\frac {5\,b^6}{4\,a^2}\right )}-\frac {81\,b^3\,\cos \left (c+d\,x\right )}{256\,\left (\frac {27\,a\,b^2}{256}-\frac {81\,b^3}{256}+\frac {63\,b^4}{64\,a}-\frac {35\,b^5}{32\,a^2}+\frac {5\,b^6}{4\,a^3}\right )}-\frac {35\,b^5\,\cos \left (c+d\,x\right )}{32\,\left (\frac {63\,a\,b^4}{64}-\frac {35\,b^5}{32}-\frac {81\,a^2\,b^3}{256}+\frac {27\,a^3\,b^2}{256}+\frac {5\,b^6}{4\,a}\right )}+\frac {5\,b^6\,\cos \left (c+d\,x\right )}{4\,\left (\frac {27\,a^4\,b^2}{256}-\frac {81\,a^3\,b^3}{256}+\frac {63\,a^2\,b^4}{64}-\frac {35\,a\,b^5}{32}+\frac {5\,b^6}{4}\right )}+\frac {27\,b^2\,\cos \left (c+d\,x\right )}{256\,\left (\frac {27\,b^2}{256}-\frac {81\,b^3}{256\,a}+\frac {63\,b^4}{64\,a^2}-\frac {35\,b^5}{32\,a^3}+\frac {5\,b^6}{4\,a^4}\right )}\right )\,\left (3\,a^2-4\,a\,b+8\,b^2\right )}{8\,a^3\,d}-\frac {\mathrm {atan}\left (\frac {\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\cos \left (c+d\,x\right )\,\left (9\,a^4\,b^3-24\,a^3\,b^4+64\,a^2\,b^5-64\,a\,b^6+128\,b^7\right )}{64\,a^4}+\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\frac {3\,a^8\,b^2}{2}-\frac {a^7\,b^3}{2}+2\,a^6\,b^4}{2\,a^6}-\frac {\cos \left (c+d\,x\right )\,\left (256\,a^7\,b^2+512\,a^6\,b^3\right )\,\sqrt {b^5\,\left (a+b\right )}}{128\,a^4\,\left (a^4+b\,a^3\right )}\right )}{2\,\left (a^4+b\,a^3\right )}\right )\,1{}\mathrm {i}}{a^4+b\,a^3}+\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\cos \left (c+d\,x\right )\,\left (9\,a^4\,b^3-24\,a^3\,b^4+64\,a^2\,b^5-64\,a\,b^6+128\,b^7\right )}{64\,a^4}-\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\frac {3\,a^8\,b^2}{2}-\frac {a^7\,b^3}{2}+2\,a^6\,b^4}{2\,a^6}+\frac {\cos \left (c+d\,x\right )\,\left (256\,a^7\,b^2+512\,a^6\,b^3\right )\,\sqrt {b^5\,\left (a+b\right )}}{128\,a^4\,\left (a^4+b\,a^3\right )}\right )}{2\,\left (a^4+b\,a^3\right )}\right )\,1{}\mathrm {i}}{a^4+b\,a^3}}{\frac {\frac {9\,a^3\,b^5}{32}-\frac {3\,a^2\,b^6}{4}+\frac {5\,a\,b^7}{4}-b^8}{a^6}+\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\cos \left (c+d\,x\right )\,\left (9\,a^4\,b^3-24\,a^3\,b^4+64\,a^2\,b^5-64\,a\,b^6+128\,b^7\right )}{64\,a^4}+\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\frac {3\,a^8\,b^2}{2}-\frac {a^7\,b^3}{2}+2\,a^6\,b^4}{2\,a^6}-\frac {\cos \left (c+d\,x\right )\,\left (256\,a^7\,b^2+512\,a^6\,b^3\right )\,\sqrt {b^5\,\left (a+b\right )}}{128\,a^4\,\left (a^4+b\,a^3\right )}\right )}{2\,\left (a^4+b\,a^3\right )}\right )}{a^4+b\,a^3}-\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\cos \left (c+d\,x\right )\,\left (9\,a^4\,b^3-24\,a^3\,b^4+64\,a^2\,b^5-64\,a\,b^6+128\,b^7\right )}{64\,a^4}-\frac {\sqrt {b^5\,\left (a+b\right )}\,\left (\frac {\frac {3\,a^8\,b^2}{2}-\frac {a^7\,b^3}{2}+2\,a^6\,b^4}{2\,a^6}+\frac {\cos \left (c+d\,x\right )\,\left (256\,a^7\,b^2+512\,a^6\,b^3\right )\,\sqrt {b^5\,\left (a+b\right )}}{128\,a^4\,\left (a^4+b\,a^3\right )}\right )}{2\,\left (a^4+b\,a^3\right )}\right )}{a^4+b\,a^3}}\right )\,\sqrt {b^5\,\left (a+b\right )}\,1{}\mathrm {i}}{d\,\left (a^4+b\,a^3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________